/*    */ package com.zimbra.cs.filter;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import java.util.Collections;
/*    */ import java.util.List;
/*    */ import java.util.ListIterator;
/*    */ import org.apache.jsieve.SieveContext;
/*    */ import org.apache.jsieve.exception.SieveException;
/*    */ import org.apache.jsieve.mail.Action;
/*    */ import org.apache.jsieve.mail.MailAdapter;
/*    */ import org.apache.jsieve.mail.MailAdapter.Address;
/*    */ import org.apache.jsieve.mail.SieveMailException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class DummyMailAdapter
/*    */   implements MailAdapter
/*    */ {
/* 38 */   private List mHeaders = new ArrayList(1);
/* 39 */   private List mActions = new ArrayList(1);
/*    */   
/*    */   public void setContext(SieveContext context) {}
/*    */   
/*    */   public List getActions()
/*    */   {
/* 45 */     return this.mActions;
/*    */   }
/*    */   
/*    */   public ListIterator getActionsIterator() {
/* 49 */     return this.mActions.listIterator();
/*    */   }
/*    */   
/*    */   public List getHeader(String name) throws SieveMailException {
/* 53 */     return Collections.EMPTY_LIST;
/*    */   }
/*    */   
/*    */   public List getMatchingHeader(String name) throws SieveMailException {
/* 57 */     return this.mHeaders;
/*    */   }
/*    */   
/*    */   public List getHeaderNames() throws SieveMailException {
/* 61 */     return Collections.EMPTY_LIST;
/*    */   }
/*    */   
/*    */   public void addAction(Action action) {}
/*    */   
/*    */   public void executeActions() throws SieveException
/*    */   {}
/*    */   
/*    */   public int getSize() throws SieveMailException
/*    */   {
/* 71 */     return 0;
/*    */   }
/*    */   
/*    */   public Object getContent() {
/* 75 */     return "";
/*    */   }
/*    */   
/*    */   public String getContentType() {
/* 79 */     return "text/plain";
/*    */   }
/*    */   
/*    */   public boolean isInBodyText(String phraseCaseInsensitive) throws SieveMailException {
/* 83 */     return false;
/*    */   }
/*    */   
/*    */   public MailAdapter.Address[] parseAddresses(String headerName) {
/* 87 */     return FilterAddress.EMPTY_ADDRESS_ARRAY;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/filter/DummyMailAdapter.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */